@import './variable.less';

.refuel-cq {
  .full-screen();
  background: @bg-color;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  .content {
    flex: 1;
    .scrollable();
    .header {
      background: white;
      padding: 30/@ppr 30/@ppr 50/@ppr 30/@ppr;
      .station-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 56/@ppr;
        .title {
          color: rgb(92, 92, 92);
          font-size: 30/@ppr;
        }
        .logo {
          width: 40/@ppr;
          height: auto;
          margin: 0 10/@ppr 0 20/@ppr;
        }
        .station {
          font-size: 26/@ppr;
          color: rgb(46, 46, 54);
          flex: 1;
          word-break: break-all;
        }
        .rechoose {
          width: 126/@ppr;
          height: 42/@ppr;
          border-radius: 6/@ppr;
          line-height: 42/@ppr;
          color: white;
          font-size: 24/@ppr;
          text-align: center;
          .directional-gradient(rgb(255, 86, 84), rgb(255, 142, 77));
        }
      }
      .input-title {
        color: rgb(46, 46, 54);
        font-size: 34/@ppr;
        font-weight: bold;
        margin-bottom: 40/@ppr;
      }
      .input-row {
        padding-bottom: 36/@ppr;
        .hairline(bottom, rgb(210, 211, 216));
        color: rgb(46, 46, 54);
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
        .unit {
          font-size: 50/@ppr;
          margin-right: 28/@ppr;
        }
        .input {
          font-size: 100/@ppr;
          font-family: 'DINMittelschrift-Alternate';
          flex: 1;
          width: 500/@ppr;
          position: relative;
          top: 18/@ppr;
        }
        .icon-plus {
          font-size: 66/@ppr;
          margin-left: 30/@ppr;
          color: rgb(211, 220, 224);
        }
      }
    }
    .oil-view {
      margin-top: 20/@ppr;
      background: white;
      padding: 54/@ppr 0 24/@ppr 0;
      .title {
        font-size: 32/@ppr;
        margin-left: 30/@ppr;
        color: rgb(46, 46, 54);
      }
      .oil-list {
        margin: 46/@ppr 20/@ppr 0 20/@ppr;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        .oil-cell {
          box-sizing: border-box;
          width: (750 - 60 - 40) / 3 / @ppr;
          margin: 0 10/@ppr 24/@ppr 10/@ppr;
          height: 80/@ppr;
          text-align: center;
          border-radius: 12/@ppr;
          line-height: 80/@ppr;
          color: rgb(46, 46, 54);
          font-size: 28/@ppr;
          border: 1px solid rgb(210, 211, 216);
          &.active {
            border: 1px solid rgb(255, 102, 85);
            color: rgb(255, 102, 85);
          }
        }
      }
    }
    .gun-view {
      background: white;
      margin-top: 20/@ppr;
      height: 108/@ppr;
      padding: 0 30/@ppr;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      .title {
        color: rgb(46, 46, 54);
        font-size: 32/@ppr;
        flex: 1;
      }
      .text {
        font-size: 28/@ppr;
        text-align: right;
        color: rgb(140, 140, 148);
      }
      .icon-arrow {
        font-size: 24/@ppr;
        margin-left: 16/@ppr;
        color: rgb(196, 196, 204);
      }
    }
  }
  .btn-view {
    height: 100/@ppr;
    background: white;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    .hairline(top, rgb(232, 234, 238));
    .money-view {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 0 30/@ppr;
    }
    .text {
      color: rgb(46, 46, 54);
      font-size: 42/@ppr;
      font-weight: bold;
      padding: 0;
      margin: 0;
      .unit {
        font-size: 32/@ppr;
        font-weight: normal;
      }
    }
    .action-btn {
      border-radius: 0;
      width: 250/@ppr;
    }
  }
}
